import store from '@/store'

export default {
  methods: {
    checkPms(key) {
      const { points } = store.state.user.userInfo.roles
      return points.some(item => item === key)
    }
  }
}
